function Station(name) {
	this.name = name;
	this.position = null;
	this.line = null;
	var nodes = [];
	var trackers = {};
	
	this.addNode = function (station) {
		nodes[nodes.length] = station;
	};
	
	this.setVisitedBy = function (trackerInd) {
		trackers[trackerInd] = true;
	};
	
	this.isVisited = function (trackerInd) {
		var result = false;
		if (true == trackers[trackerInd]) {
			result = true;
		}
		return result;
	};
	
	this.getNodesNumber = function (){
		return nodes.length;
	};
	
	this.getNode = function (nodeInd){
		return nodes[nodeInd];
	};
	
	this.resetVisitors = function () {
		trackers = {};
	};
}